import 'package:get/get.dart';
import 'package:demo/views/group/group_details_view.dart';
import 'package:demo/views/group/group_index_view.dart';
import 'package:demo/views/group/group_invite_view.dart';
import 'package:demo/views/group/group_kicked_view.dart';
import 'package:demo/views/group/group_name_view.dart';
import 'package:demo/views/group/group_notice_view.dart';
import 'package:demo/views/group/group_qrcode_view.dart';
import 'package:demo/routers/router_base.dart';

// 群聊路由
List<GetPage> getGroupPages = [
  // 群聊首页
  getPage(
    name: GroupIndexView.routeName,
    page: () => const GroupIndexView(),
  ),
  // 群聊详情
  getPage(
    name: GroupDetailsView.routeName,
    page: () => const GroupDetailsView(),
  ),
  // 群二维码
  getPage(
    name: GroupQrCodeView.routeName,
    page: () => const GroupQrCodeView(),
  ),
  // 设置群名
  getPage(
    name: GroupNameView.routeName,
    page: () => const GroupNameView(),
  ),
  // 设置公告
  getPage(
    name: GroupNoticeView.routeName,
    page: () => const GroupNoticeView(),
  ),
  // 邀请好友
  getPage(
    name: GroupInviteView.routeName,
    page: () => const GroupInviteView(),
  ),
  // 移出群聊
  getPage(
    name: GroupKickedView.routeName,
    page: () => const GroupKickedView(),
  ),
];
